allows the user to select among different possible error checks to be made on each single mathematical operations. The set error command will set computational error checks as follows:
• 0: clear all computational error check bits.
• 1: check for `infinity' values.
• 2: check for `not a number' values.
• 3: check for `out of domain' math function errors.
• 4: check for `out of range' math function errors.
Error checks are not exclusive and more than one can be specified on the command line. The default status has all error check levels activated (1 2 3 4).
It is sometimes desirable to disable one of the checks. For example, the operation y = 1/sinh(x) will give a `out of range' error for large x ( > 709 on most machines), although y is in fact 0. If one uses set error 0 1 2 3, then no error will be reported and y will be set to zero accordingly.
set debug value-list
set error 0 2 3
C, cmode